package com.stylefeng.guns.modular.platform.dao;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.platform.model.UserLottery;

/**
 * <p>
 * 平台用户抽奖记录表 Mapper 接口
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-26
 */
public interface UserLotteryMapper extends BaseMapper<UserLottery> {

	List<UserLottery> getUserLotterys(Page<UserLottery> page, UserLottery userLottery);

	double selectCountRateByActivityId(Integer activityId);

}
